package com.bdd.service.Impl;


import com.bdd.entity.ReturnItem;
import com.bdd.mapper.OrderItemDao;
import com.bdd.mapper.ReturnItemDao;
import com.bdd.model.bo.ReturnItemBO;
import com.bdd.model.bo.clothing.ClothingForOrderItemBO;
import com.bdd.service.ReturnItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReturnItemServiceImpl implements ReturnItemService {

    @Autowired
    ReturnItemDao returnItemDao;

    @Override
    public List<ReturnItemBO> list(Integer returnId) {
        List<ReturnItemBO> returnItemBOList = returnItemDao.selectBOListByReturnId(returnId);
        return returnItemBOList;
    }

}
